home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / disk / dirsiz25.zip / DIRSIZE.TXT < prev    next >
Text File  |  1996-06-23  |  16KB  |  435 lines

  1. DIRSIZE v2.5
  2. ============
  3.  
  4. Copyright 1993-1996 Simon A Carter
  5.  
  6. The Directory Size Lister with the Lot:
  7.  
  8.     *  Summary statistics for multi-level directories. This is
  9.        very useful for finding the complete size of applications
  10.        before deletion or backup.
  11.     *  Support for Windows 95 long filenames.
  12.     *  For the drive, displays cluster size, free space, used
  13.        space and capacity.
  14.     *  For the files examined, displays used space and wasted
  15.        space.
  16.     *  Shows wasted space for a given cluster size.
  17.     *  Rounds up file sizes to the cluster size for the most
  18.        accurate size information.
  19.     *  Paginates output, [Enter] for next line, [Esc] to exit and
  20.        any other key for next page. Disabled automatically if
  21.        output is redirected.
  22.     *  Output can be redirected to a file or to the printer.
  23.     *  The characters used to draw the directory tree can be
  24.        changed from DOS extended ASCII characters to standard
  25.        ASCII characters.
  26.     *  Directory sorting can be disabled.
  27.     *  Future proof - directory sizes up to 99 GB are catered for.
  28.     *  Continuous progress indicator while accumulating file
  29.        information.
  30.  
  31.  
  32. PRIVATE use of DirSize is FREE. Please register your usage by
  33. sending email to Simon Carter at launch@ozemail.com.au, with your
  34. name and address.
  35.  
  36. Paid registration (costing $AUS 10) is required for use in a
  37. business, commercial, government or institutional environment.
  38. Please see the end of this file for more information.
  39.  
  40.  
  41. What will DirSize do for ME ?
  42. =============================
  43.  
  44. DirSize shows a graphical tree of the directories on your hard
  45. disk. The tree starts from the current directory, or from the
  46. directory that you specify. The left column displays the disk
  47. space used by each directory. Directories that contain further sub-
  48. directories display summary statistics in square brackets after
  49. the directory name. This is very useful for determining the
  50. complete size of an application, for example, if you were hunting
  51. for an application to remove to make way for a new one.
  52. Alternatively, DirSize can be used to find the total size of an
  53. application before a backup or copy is made.
  54.  
  55. DirSize automatically detects and displays Windows 95 long
  56. filenames. Of course, it will still run under any older version of
  57. DOS.
  58.  
  59.  
  60. Installation
  61. ============
  62.  
  63. Just copy DIRSIZE.EXE to a directory in your path, for example, to
  64. C:\DOS. To find out the directories in your path, type
  65.  
  66.    c:\> path    [Enter]
  67.  
  68.  
  69. How to use DirSize
  70. ==================
  71.  
  72. Typing
  73.  
  74.    dirsize /?   [Enter]
  75.  
  76. on its own will display usage information.
  77.  
  78. Usage:
  79.    dirsize [/c<+|->] [/nosort] [/p] [/size=#] [initial path]
  80.  
  81. The initial path is optional - if you leave it out, DirSize will
  82. start its display from the current directory. Directory names with
  83. special characters such as spaces can be entered without quotes
  84. e.g.
  85.  
  86.    c:\> dirsize Program Files    [Enter]
  87.  
  88. When DirSize detects that its output is being redirected, it
  89. automatically turns off pagination, and selects portable
  90. characters to draw lines, such as +, - and |. It does this because
  91. the output may be sent to a device or another computer that does
  92. not understand DOS's line drawing characters (which are non-
  93. portable). When DirSize's output goes to the screen, it uses the
  94. DOS line drawing characters. You can override the default
  95. behaviour in either case using the /c option:
  96.  
  97.    /c+   forces DirSize to use DOS's graphical line drawing
  98.          characters even if it detects that its output is being
  99.          redirected.
  100.    /c-   forces DirSize to use portable text line drawing
  101.          characters even if it detects that its output is not
  102.          being redirected. This is useful if the result is going
  103.          to be used on another computer, for example, on a Unix
  104.          machine or a Macintosh.
  105.  
  106. The /nosort option forces DirSize to not sort directory names into
  107. alphabetical order (the default). This may be useful if you are
  108. comparing DirSizeÆs output to an unsorted listing from the DOS DIR
  109. command.
  110.  
  111. The /p option tells DirSize to NOT paginate the output. Pagination
  112. pauses after each screenful of output. [Enter] shows the next
  113. line, [Esc] exits, [End] scrolls continuously to the end of the
  114. output, and any other key shows the next screenful of output.
  115. Pagination is automatically disabled when the output is
  116. redirected.
  117.  
  118. The /size=# option tells DirSize to show how much disk space would
  119. be wasted if the cluster size was set to # bytes per cluster. # is
  120. restricted by DOS to powers of two, but for convenience DirSize
  121. allows it to be set to any value. This is useful for previewing
  122. the result of a change in cluster size on a set of files. In
  123. general, the smaller the cluster size, the smaller the wasted
  124. space.
  125.  
  126.  
  127. Redirecting Output
  128. ------------------
  129.  
  130. DirSize's output can be redirected to any device. For example, to
  131. save DirSize's output to the file output.txt, you can type:
  132.  
  133.    dirsize > output.txt    [Enter]
  134.  
  135. To add DirSize output to an existing file exists.txt, type
  136.  
  137.    dirsize >> exists.txt    [Enter]
  138.  
  139. To send DirSize's output to the printer, type
  140.  
  141.    dirsize > prn    [Enter]
  142.  
  143.  
  144. DirSize Example
  145. ---------------
  146.  
  147. The output below was generated from running DirSize in the Program
  148. Files directory (in a DOS shell under Windows 95):
  149.  
  150.    c:\> dirsize Program Files    [Enter]
  151.    
  152.                 0   C:\Program files   [113,082,368]
  153.         1,277,952   |--Accessories   [1,769,472]
  154.           491,520   |  +--HyperTerminal
  155.                 0   |--Common Files   [16,121,856]
  156.                 0   |  +--Microsoft Shared   [16,121,856]
  157.           557,056   |     |--Artgalry
  158.           819,200   |     |--Equation
  159.         1,998,848   |     |--Grphflt
  160.         2,260,992   |     |--Msgraph5
  161.           458,752   |     |--MSinfo
  162.         1,540,096   |     |--MSquery
  163.         1,671,168   |     |--Orgchart
  164.         2,850,816   |     |--Proof
  165.         1,998,848   |     |--Textconv
  166.         1,376,256   |     |--VBA
  167.           589,824   |     +--Wordart
  168.           655,360   |--Font Assistant
  169.         3,014,656   |--Games
  170.            65,536   |--Help Assistant
  171.         5,242,880   |--JOBINT
  172.           851,968   |--Launch
  173.           786,432   |--LVIEWPRO
  174.            65,536   |--Microsoft Exchange
  175.         6,651,904   |--Norton AntiVirus   [7,208,960]
  176.           557,056   |  +--System
  177.         2,293,760   |--Norton Commander
  178.                 0   |  +--Indexing
  179.         8,978,432   |--Norton Utilities   [14,942,208]
  180.         5,963,776   |  +--System
  181.        11,272,192   |--PAINTER3   [15,564,800]
  182.           557,056   |  |--MOVIES
  183.           589,824   |  |--NOZZLES
  184.           720,896   |  |--SESSIONS
  185.           819,200   |  |--SUPPLIES
  186.         1,605,632   |  +--TUTORIAL
  187.           655,360   |--Plus!   [2,293,760]
  188.         1,146,880   |  |--Setup
  189.           491,520   |  +--System
  190.           262,144   |--Resource Kit
  191.         5,570,560   |--RESUMEW   [9,895,936]
  192.           753,664   |  |--LETTERS   [1,015,808]
  193.           262,144   |  |  +--MRG_LET
  194.         3,309,568   |  +--RESUMES
  195.         1,736,704   |--Symantec
  196.         1,212,416   |--The Microsoft Network
  197.         1,802,240   |--Type twister
  198.           688,128   |--UltraEdit
  199.         2,129,920   |--VendInfo
  200.         4,161,536   |--Visio   [20,381,696]
  201.         2,719,744   |  |--Add-ons
  202.           393,216   |  |--Drawings
  203.         3,014,656   |  |--Help
  204.                 0   |  |--Stencils   [4,816,896]
  205.         4,816,896   |  |  +--Standard
  206.            98,304   |  |--System   [4,554,752]
  207.           360,448   |  |  |--Custom
  208.         2,129,920   |  |  |--Filter32
  209.         1,277,952   |  |  |--Setup32
  210.           688,128   |  |  +--Spelling
  211.                 0   |  +--Template   [720,896]
  212.           458,752   |     |--Standard
  213.           262,144   |     +--Wizards
  214.           262,144   |--winhack
  215.         2,523,136   |--WINRES
  216.         1,310,720   +--WinZip
  217.    
  218.    Files examined:
  219.         Used space:    113,082,368 bytes
  220.       Wasted space:     19,348,332 bytes (17% of used)
  221.    
  222.    Drive C:
  223.       Cluster size